<{extends file="<{$tempdir}>/public/admin.html"}>
<{block name=extendjs}>
<script type="text/javascript" language="javascript" src="<{$siteurl}>/templates/<{$tempdir}>/public/js/artdialog/plugins/iframeTools.js"></script>
<script src="<{$siteurl}>/templates/<{$tempdir}>/public/js/datepicker/WdatePicker.js" type="text/javascript" language="javascript"></script>
<{/block}>
 <{block name=controlname}>分享优惠券展示信息列表<{/block}>
 <{block name=bodylist}>

      <div style="width:auto;overflow-x:hidden;overflow-y:auto">

      	  <div class="search">


            <div class="search_content">

            	 <form method="post" name="form1" action="<{ofunc type=url link="/adminpage/card/module/sharejsinfo"}>">

             
			  <label>标题：</label>
            	   <input type="text" name="title" value="<{$title}>" style="width:130px;"> 
			 
			 
            	   <select name="type">
            	   	  <option value="all">请选择优惠券展示类型</option>
 			   		 	  	  <option value="2" <{if $type == '2'}>selected<{/if}>>下单成功分享优惠券类型</option>
			   		 	  	  <option value="3" <{if $type == '3'}>selected<{/if}>>推广优惠券类型</option>
			   		 	  	  <option value="4" <{if $type == '4'}>selected<{/if}>>关注微信领取优惠券类型</option>
            	  </select>
            	 
            	    <input type="submit" value="提交查询" class="button">
            	 </form>
            </div>

      	</div>






           <div class="tags">



          <div id="tagscontent">

            <div id="con_one_1">

              <div class="table_td" style="margin-top:10px;">

              <form method="post" action="" onsubmit="return remind();" id="delform">

                  <table border="0" cellspacing="2" cellpadding="4" class="list" name="table" id="table" width="100%">

                    <thead>

                      <tr>

                        <th width="60px"><input type="checkbox" id="chkall" name="chkall" onclick="checkall()"></th>

                        <th align="center">id</th>
                         <th align="center">类型</th>
                        <th align="center">标题</th> 
                        <th align="center">分享图标</th>
                         <th align="center">简述</th>
                         <th align="center">展示大图</th>
                        <th align="center">背景色调</th>
                        <th align="center">活动规则背景色调</th>
                         <th align="center">排序</th>
                        <th align="center">操作</th>

                      </tr>

                    </thead>

                     <tbody>
                       <{foreach from=$shareshowinfo item=items}>
                      <tr class="s_out" onmouseover="this.bgColor='#F5F5F5';" onmouseout="this.bgColor='ffffff';" bgcolor="#ffffff">
                        <td align="center" ><input type="checkbox" name="id[]" value="<{$items['id']}>"></td>
                        <td align="center"><{$items['id']}></td>
                        <td align="center"> <{$juantypename[$items['type']]}> </td>
                        <td align="center"  ><{$items['title']}></td>
                        <td align="center"  ><a href="<{$items['img']}>" target="_bank" ><img style="width:80px;" src="<{$items['img']}>" /></a></td>
                         <td align="center"  ><{$items['describe']}></td>
                        <td align="center"  ><a href="<{$items['bigimg']}>" target="_bank" ><img style="width:80px;" src="<{$items['bigimg']}>" /></a></td>
                         <td align="center"  ><{$items['color']}></td>
                         <td align="center"  ><{$items['actcolor']}></td> 
                          <td align="center"><{$items['orderid']}></td>
						<td align="center">
                        	<a href="<{ofunc type=url link="/adminpage/card/module/addsjsinfo/id/<{$items['id']}>"}>" ><img src="<{$siteurl}>/templates/<{$tempdir}>/public/images/admin/edit.jpg"></a>
                        	<a onclick="return remind(this);" href="<{ofunc type=url link="/adminpage/card/module/delsjsinfo/id/<{$items['id']}>/datatype/json"}>"><img src="<{$siteurl}>/templates/<{$tempdir}>/public/images/admin/del.jpg"></a>
							</td>                        

						</tr>
                       <{/foreach}>

                    </tbody>

                  </table>

                <div class="blank20"></div>

                </form>

                <div class="page_newc">
				
					<div class="select_page"><a href="#" onclick="checkword(true);">全选</a>/<a href="#" onclick="checkword(false);">取消</a> 
						  <a onclick="return remindall(this);" href="<{ofunc type=url link="/adminpage/card/module/delsjsinfo/datatype/json"}>" class="delurl">删除</a>  
						  <a href="<{ofunc type=url link="/adminpage/card/module/addsjsinfo"}>" class="delurl">添加分享优惠券展示信息</a></div>
				 
                 	     </div>
                       <div class="show_page"><ul><{$pagecontent}></ul></div>
                 </div>
		
					<div class="select_page" style="color:red;width:800px;">
					<a style="color:red;width:800px;" href="jvascript:void(0);"  >温馨提示：如果同一种类型的优惠券展示有多条符合条件时候，则系统读取的是排序ID为最小的一种</a> 
						  </div>
                <div class="blank20"></div>

              </div>

            </div>

          </div>

        </div>


  </div>

</div>
<{/block}>